DEPRECATED: Please use the re-packed and re-tooled of this algorithm in the new cosmotile package by Steven Murray cosmotile Modules and scripts to grid and tile 21 cm cubes to HEALPix and sine projected maps as in Kittiwisit et al. (2018).