Exact exchange treatment for molecules in finite-basis-set kohn-sham theory