online interval sampling