Begin/End overlap issue

It may be, what could be an option is creating several smaller volumes to encompass the space you need, each of which plugs into the same function.