class library: simplify and complete implementation of Size class
class library: simplify and complete implementation of Size class