Started adding code for the minimal interleaving :-)