Bidirectional algorithms can subclass regular versions