Finish BinaryPartitioner.
Add missing files.