HLL implementation in khmer directly in Python