Text this: An algorithm for 1-space bounded cube packing