reduce branch matching