Added support for specifying two fields for the BoxFilterSGS method.