removed debug printouts, fixed StringIndexOutOfBoundsException for
Blocksubstitutions if the AA stays the same but an extra AA is inserted