added shape_distance func: