Free memory allocated for step and block stats