Update ddisk algorithms.
Finish code.