Changed the values to reflect the actual number of pixels beingused