Expand and visualize the cost