Minimize the Number of Uplinks