Improved process for parent NS

Based on page_findnearest()