Fix measurer.

Close #20.