Molecular dynamics simulation of size segregation in three dimensions