caching few hashcode lazily