matrix correctly sizes to fit polygon