Z-scan for thin media with more than one nonlocal nonlinear response