Completed adjacent square implementation