outline rects and change canvas and block size