Exploring crystal structure by three-dimensional atomic density distribution from molecular dynamics simulations