inlined and reduced data copy in half. Further work on #1086. Brings test from 0m44.942s to 0m37.913.