Fixed typos and significantly improved performance/overhead of dynamic lbd calculation