to_box_list now with modulo