Added new utility to estimate depth for parallel.