display of margin based on SDP revised