synthetic division is dumb but not as dumb as the alternative