If the image is to large, you should have problems with flashing.So is it possible that the twrp is too large damaged the modem or bootloader ?
The bootloader would resist the file, if you were flashing with dd, it should also check the file size.
But, I hope your modified TWRP uses the correct fstab, otherwise you could modify the wrong partition.