Cleanup `baseDifference`.
Avoid JIT bug in Safari 8.