Fixed literal substitution indexing