fix overflow in clipperz format (fixes #493)