fixing bulkloading for large numbers