reduce canvas size