everything is now templated, about 20-25% faster too!  also pulled offsets out, makes searn 25-50% faster.