N-wise features patch, test

improved cancel abilities, support generation with requested coverage