[mod] refactor k-core