Fixed node depth calculation in the planning network.