That's what I get for being up since 3am

Silly algorithms are silly