Problem 98 WIP - reworked algorithm, seems faster.