Find size along each dimension