build targets for vertical and horizontal slicing