Fixed a bug occuring on some corner cases of comparing burrow shapes