Function of the spongy bone