Debugging data format of momentum, using adaptive method for group size