removed output weight restoration code in cluster selection.