Successfully tested optimization in example 2

Including image of result