In case of necessity, private ways may be granted upon just and adequate compensation being first paid by the applicant.