Deconvolution of finite-size effects