add partition-done output to kernel
fix datatypes and output VWG vector