increase threshold for dir to reduce over shoot