use inplace dot if inplace in pcd, test inplace