resolved issue by changing ctkLP to hold a const map_location.

now the only memory issues are with lp_ai