massively improve Terminal encoder speed