stab at the optimized contract without memory allocation.