add clp.h/c
use local_vector. speeds things up when transaction can fully fit into stack, no real perf difference if much bigger than stack space