Implemented resizing regions, not perfect tho