Improvements on the path finder