add consistent hash program