check that dilation subcube is inside main cube