compress in parallel