initialize lasttime
prototype of area-fill