• Oh, it wasn't really from reading the plan that I came up with the rewrite, I simply "looked with eye" at the code and made what I thought were logical changes based on what the existing code was trying to accomplish.

    Given more time and the resources I might actually improve it more.  Knowing the data would be a big help in that regard.