compelted substrings from the building blocks