balz.cpp is written and placed in the public domain by Ilya Muravyov
