Add MST support and speed up removing item