added note on cubes algorithm.