revert mistake in hdfs segment computation