Matter alignment test

Given vertices that are aligned with an svg like this, how do we render it so that it's centered on the Matter body?
svg with the vertices on it square svg with the vertices on it