i-bem: concat strings instead of pushing to buffer

close #401