extremely long remainder problem