Changed type of hb_size_t to unsigned long int