added size classes to update paramiters depending on magnification -- if we'll use this more often will need a more flexible system...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>