Pull makefile path instead of assuming current dir.
Not needed.
Changing TH interval.
Skip regions of high N content.
Use a bit field to mark N locations instead an array.