Mirrorball: modified calculation of output size