A time prediction model of cursor movement with path constraints