system size calculation