Resolved issue where the java version of FastPFOR differs from the C++ version