fixed usage of uninitialized values for inf masses