Improve auto-resize behavior
Fix #582 matcher_fuzzy problem