refactoring lateral reactions
checks way for find_spec.cpp