added check first value unequal zero in calc of hashcode
fixed really stupid bug in hashcode calc