clean up weighted sd