a suitable application of extreme brute force to testing reveals some bugs
go back to an old implementation that actually works