Cloud mining with environmental concerns