Working version of align and preliminary version of preScreen, currently
it only prepares the character count arrays