mesocarp or endocarp