algebra gap identification