Text this: New approach to calculate the true-coincidence effect of HpGe detector