changed cuboid representation; uniform downsampling