added MDL heuristic