min size and square size change