Full alignment and related algorithms