Added more implementation and unit test for net position.