Implemented balancing, and added remarks about kNN graphs.