Update parse_small_int and add parse_int