Reduce the times doing the hash