knots were not saved, making variance estimation fail. Now they are
saved and recovered.