Just keep an extra mask on which bases are N's and which ones aren't.
Just keep an extra mask on which bases are N's and which ones aren't.