Create bre_with_scale.cpp