For poor manufacturers like me who don't have AMS: Pause at the fifth layer, replace the filament, and then continue printing.