used the new functor in opengm ...bp speedup...twice as fast