APY-140 : Generating accessible paths - implement the new algorithm