Hybrid rocket upper stage optimization: effects of grain geometry