bugfixes in loops over strings
single-pass integer converting for amatch/dl
single-pass integer conversion at C-level for all matching algorithms