Update EnvironmentRank.cpp