Speed up polynomial material imbalance loop