use sparrow_path_t, not sparrow_point_t