Effects of emittance and space-charge in femtosecond bunch compression