Reducing the risolution of an optical encoder