Refactor 'affected' method for readability
Return affected entities and pairs at once
Side space manager
Rest of side space manager