The boot loader must fit in the boot memory, which is 16KBytes. Keep an eye on the .mem file to make sure it doesn't get larger than that.