Make lcp hash computation method public