* parent_chain calculation is removed because it is not used by the logic Change-Id: Icedf5ae1a6ff92dbf182eb16f3911e19897a11f4 (cherry picked from commit 0abc90010f)
0abc90010f