BUGFIX for h3_dist error

*the second dist will set curr_pos = 0