optimize margin props