remove unnecessary underscore dependencies and add ranged dependency for flopmang