Arrangement of particles in solid, liquid and gaseous state