Working on cube generation.