Fixed conncurrecy bug with LSBP algorithm due to embed/extract being called concurrently, LSBP now works but performance is poor