aggregate shape works on variable By results