NX compression library