Enhancing capacity in mid-voltage grids through strategic reconfiguration