finish obstacle growing algorithm