Make the edges inaccessible. The edges should occur at the corners of the cage or otherwise in a manner not compatible with injury, like horizontally overlapping so that they can't get a grip on it. Otherwise, the edges should meet on a frame, with the frame being internal and the joints of the walls external.