Use size_t for time and node count.