More small ecpp performance tweaks