fixed some bugs, but still need to complete spsvbfs kernel