Fixed queue size calculation