Helpful Abstraction using Minimum Spanning Trees for Expression Relations (Hamster)