add hattrie_lcs_size for finding longest common prefix between stored keys and a given key