Move creation of depth map in RdfTreeGenerator to reduce contention when used concurrently.