updated all scenarios involving otherDistance algorithm