PaperApplication of the Kohn-Sham formalism to quantum dots with realistic dimensions and constrictions