Version 1.1 2019.11.15
Improved algorithm slightly.