fix memory computation for int field data