client-side calculate 6 instead of 7 for KSM