(b)if the loss cannot be wholly so set off, the amount of loss not so set off shall be carried forward to the following assessment year and so on; so, however, that no portion of the loss shall be carried forward for more than four assessment years immediately succeeding the assessment year for which the loss was first computed.