[yan qian] add sum cubes to learn infinite calculation of guava.