pcf grid closest point