this is somehow measurably faster.

todo: investigate this; such an optimization should not be necessary