Adding robustness for near ostn edge