Better and cleaner resizing policy