if only the shaded cubes are visible from the top