In ResampleEffect, optimize the bilinear weights on a global scale.