first version of sizeCalculator, uploaded without test. Next commit will be test coverage.