fixed funtion [], fixed part if initialize, started on first_larger_index