Fixes #42.  u = v in `subsample_cubes`.

Fix sub-sampling bug where `u = v`.