When a rectangular beam is loaded transversely, the maximum compressive stress develops on