update parser of optimized design + fix bug with dpb border size