box formula gamma