voting works the first time for smaller d's and t's. getting about 85-87% accuracy, d=9 and t=9 for example