let min_dist_to_boundary = cp_min_dist_to_boundary#get