Updated l2a() for FLStock and FLIndex to prevent memory issues