Transform 2d stubs