Removed printing of statistics
Re-added wrongly removed mask on hash value