alter between two point