Computes the next z-index inside the parent element.