added a pixel to value scale factor