How to keep an island from being split in two by the player

Ye i thought maybe there was something built in that would be cheaper but it looks like im going to have to build an algorithem. thanks :slight_smile: