fixed terrible bug when searching the cube for blocks