I was right, I changed the code and updated the UDF, CheckSum now works for all sizes.
Have a nice day!