adjust margin on measureRep