Moved getKCover to smallcovergraph class