softmin working better now.