Size quantization in small semiconductor particles