Molecular dynamics simulation of amorphous silicon with Tersoff potential