resize and fill method