Added timer for average tick length