Trim data-nb attribute before splitting and searching for block