Finite-size effects on the static properties of a single-chain magnet