just put 1E-6 here. what's the point of sqrt...