clean up constants in matching cubes impl