ethpipe.c: improved speed