Relationship between condensation energy and dimensionality of Bi-2212 superconductor