reduce firebase_functions