Aids for debugging and inspecting the algorithms. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>