Update mcf

Fix parsing more than 2 layers with same priority