Making code rely only on the tree partitioning process.