How pressure affects confine water inside different nanoslits