Improvements to NSPL generation, the beginnings of the main nspl2bf loop