added how to build fair approximate hash code