Reduce memory of I2C process