Flexible Resource Management in High Throughput Satellite Communication Systems A Two Stage Machine