vacant spaces transformation