Fixed an issue dealing with the computation of the alignment array.