changed cuboid to only iterate face blocks