proper handle of nb points per curve