Generates subdivided cube meshes