WIP: more incremental progress on the cubes problem.