add margins to polygon