The neighbors for an added curve can be empty. In that case use the constant value instead of interpolating.