Change round to floor
Change array to index-1
Merge branch 'master' of ../stage