Added prevPoint property for make a chain for invasion.