currently depth is controlled in variation assuming a full binary tree. add a proper depth calculation to individual.