Phase transition of DNA compaction in confined space: Effects of macromolecular crowding are dominant