Bug fix of max combine in kspace method