Added some discussion of improving the algorithm