EG: idea to solve boundary clashes working
EG: alternative implementation