Fixed bug in partition code so that it always creates a sorted partition. BFS ClusterTree is looking good