This is a version of the OGM using vectorization