for a reconstruction of image resize