When upsample > 1, somehow branches are not found.
(still duplicate error to be solved)
All other parameters are the same