Changed names of variables to "pixelSize" instead of "pointsSize" in order to not create confusion.