Optimization init atoms per grain