Resizing complete

finished the realignment script