Fix bug: When there's only one available surround-point, the path can not found