use templates where possible
templates do not seem to do that much
fix tuple bug
remove templates and sliced numba is slightly faster somewhat surprisingly
get rid of nx api