either clamp_intxy was out by 1, or all its callers were