BUGFIX: The translation between links' ids and cells'ids was not done
New feature: Priorities added for NxM nodes (M != 0 && N > M)