As altitude increases exhaust back pressure reduces, if MAP is kept constant by gradually opening the throttle (note this will only apply at power settings below maximum) a greater mass of air will be induced into the engine and power increases. Since density is mass per unit volume if the mass of air is increases for the same volume the density must have increased.