remove len from InstanceLP
test if LP has length before asking