this will not be robust numerically

I would make an array of fstep and then check that all values are equal to the mean up to a fixed precision