Updated delta algorithm. Now more exact & best performance