No building shall hereafter be erected, altered, enlarged or moved on a lot nearer than 30 feet to a lot line, other than a street line, provided that when such lot line lies wholly within the multifamily district and is more than 30 feet from the boundary line thereof, such distance shall be not less than 20 feet.