Work in progress BinaryPartitioner tests.
Commit merge.
Fix build.
Add executable to profile performance.