Added more statistics, improved memory ordering