histogram resizing