The effect of sample shape on the measurement of intergrain currents in YBaCuO