remove pointer
guess number of knots