Optimize stack scan, close #635