Improve algorithms.