Fixed a bug in SparseSplitter.init