separate function for combinations n over k added
boundedges performance improved by use of n_over_k function