moved the abs logic into the splitLong function, made BFHashIndices test generic