storing S matrices in constraints