Fill the rest of the space for an element.