partial solution to part 2, needs complete division bounding