right now, only step 1 and n are relevant in distance evaluation