> This should be done in the first loop. It may be needed to increase the > loop length (so it search more data). I tried to understand the first loop, but I could not. Why is n never incremented inside? Thanks for help, Michael