MaxWeightExceededException optimization