Resolved block length vs reserved pebs issue in layout.py