use only the required weights