Adds exception for MemoryError when creating cube object, and prints expected memory footprint.