adaptive partition