add max instruction length calculation to target generator and indent generated target