add pure java sublinear