Turns out the optimization was a little too questionable