version 1.01b, optimization