Numerical study of pattern transition in Liesegang type precipitation system