Text this: Stability enhancement of an islanded distribution network via boundary detection and load shedding