put backward path check into path extend method