added mst to problem singularity