Factor out wNAF generation.
Tighter constraint system for packing.