Added caching and 10,000 cubes.