fixing mistake in measuring hash size