Add way extending by clicking on first/last node