fix split digits and create test for combine digits and postion