I think this trade is beneficial with both teams.
For the bulls get get a center that compliments Caleb Wilson. A player most likely the team is drafting. Caleb is a 4 that plays like a 5 and myles is a 5 that plays more like a 4 on offensive. Perfect match. On defense give Caleb time to develop his size and physical strength.
For the buck they get rid of a aged player that did not live up to his contract. 2 young asset in there rebuild to the future.