MAINT: added code and tests to explicitly disallow locally aligning alignments. we don't have use cases for this right now, and it's not clear how it would work exactly
MAINT: added new function to reduce code duplication
DOC: updated documentation