On the dimensions of path algebras