Wrote a class to find residues that are trivially aligned.