tick optimization test out, key input optimization