optimize hashcode computation on immuable plot