changed walls / borders to sorted sets instead of vectors