solved 2-D case at Thu Sep 19 02:29:17 CST 2013