The band method for extension problems and maximum entropy