using unsignedToLong everywhere
size -> length
fix apply(Long)
Error in longValue