loading HAP bitmap as a list of cubes