Improve efficiency of LOBE memory model.

Change LOBE compiler to dynamically allocate working cells and internal
variables near to existing cells relevant to the current calculation.
This prevents unnecessary long-distance copies.