Reduce one more second by using a set of chars instead of a set of ints