Optimize Moc rendering : share vertices, remove not needed edges