calc: restricted output size