Add track length array to cuda kernel