bug with reversed() in split_number()