added minimum k and hashsizes to prevent inanely complex useless searches