Complex sentence: The style represented by the keep of Matsumoto Castle has an almost square foundation with every level a bit smaller than the one below but keeping the same shape.
Split into simpler sentences: The style represented by the keep of Matsumoto Castle has a virtually square foundation. Each level is a bit smaller than the one below but maintains the same shape.