more likely correct definitions of sum_of_logs_{even,odd}.

of course, this breaks size....