Recognition of Unconstrained Legal Amounts Handwritten on Chinese Bank Checks