Switch from matrix to relation data structure