outer edges check