Separate k-map and k-map by family