Add best-fit mode
Merge pull request #1 from klutzy/feature/best-fit

Add best-fit mode