Please, don’t use string - the cubes will fall after every bump.
This was discussed to death in this topic