could in the long run move spaces functionality to the class and since the class is global anyway, wouldn’t need this
index_length changes index a bit but from now on changes to layouts should push the index automatically just have to set the index while calling now