recent changes excluding variance stabilizer and using inf instead of nan