this is a partially broken test-build
added 'permuation' argument to npksum