Modified blob search to remove obstacles beforehand