Limits of cubes