PATH_ARR_SIZE
static const int path_limits[PATH_ARR_SIZE] = { 1000, 500, 100, 50, 10 };
static int path_count[PATH_ARR_SIZE];
for (i = 0; i < PATH_ARR_SIZE; i++)