Gas allocation