Memory-efficient storage of IR Codes