Size dependance of impurity levels in quantum dots: exact versus variational results