SMS dit: Efficiently solving convex relaxations for MAP estimation