Added energy constraint