keep only upper tri part instead of thresholding