Move size detection into ``__init__``-method of calculator.