More compact code for EB field output