changed how point_b is set