softmin computation... some sort of ....