spoonbill, though one wonders why it didn't misbehave everywhere. In passing remove some unnecessary modulo calculations.