fixed size calculation