I wrote an OSEM assembly procedure; please have a look!
http://gwdoc.icrr.u-tokyo.ac.jp/cgi-bin/private/DocDB/ShowDocument?docid=3762