Island expansion code