Oil prices top $40 amid 'fastest rebalancing' in history