add function for obtaning non const reference for the alignment in an alignment decoder