3/23 The final algorithm commit. I hope so :)