I think my algorithm is pretty straight forward considering that it adjusts to custom data limits. Please suggest a simpler that does this.