add extract weight for all elements