lshash.py: revised.