forgot index on conn_length(j)