STUDY OF BI-PARAMETER FLAG PARAPRODUCTS AND BI-PARAMETER STOPPING-TIME ALGORITHMS