ENH: adjusting weight table handling to C code