dgmass kernel at least runs without segfault