calculate hpc mass range only once