Add ability to pass dimension coordinates for slicing cube