changes in subgrain detection and removal