add too high flag to stop trig calculations