fix timer issue. add size options. add average support.