Optimize teleporter generation by using the blockmap.