Changed BVH to use mutable_partition instead of std::partition.