were changed from "unsigned long" to "size_t" to solve warnings about 64 bits to 32 bits truncations.