private _xsize,_ysize move to public