Removing n == 3 special case doesn't appreciably slow down