Fix possible bug when k_indices is larger than k
Fix possible bug when k_indices is larger than k

git-svn-id: 5398946ba177a3e438c2dae55e2cdfc2fb96c905@1755 a9d63959-f2ad-4865-b262-bf0e56cfafb6

zavataafnan/pcl-truck,fskuka/pcl,srbhprajapati/pcl,ResByte/pcl,wgapl/pcl,DaikiMaekawa/pcl,cascheberg/pcl,soulsheng/pcl,3dtof/pcl,fskuka/pcl,kanster/pcl,krips89/pcl_newfeatures,raydtang/pcl,simonleonard/pcl,nh2/pcl,stefanbuettner/pcl,closerbibi/pcl,cascheberg/pcl,DaikiMaekawa/pcl,msalvato/pcl_kinfu_highres,msalvato/pcl_kinfu_highres,KevenRing/vlp,shivmalhotra/pcl,the-glu/pcl,shangwuhencc/pcl,Tabjones/pcl,jeppewalther/kinfu_segmentation,soulsheng/pcl,KevenRing/vlp,fanxiaochen/mypcltest,stfuchs/pcl,nikste/pcl,soulsheng/pcl,shyamalschandra/pcl,MMiknis/pcl,3dtof/pcl,KevenRing/pcl,Nerei/pcl_old_repo,damienjadeduff/pcl,pkuhto/pcl,jakobwilm/pcl,v4hn/pcl,MMiknis/pcl,zhangxaochen/pcl,DaikiMaekawa/pcl,wgapl/pcl,sbec/pcl,the-glu/pcl,Tabjones/pcl,drmateo/pcl,nikste/pcl,RufaelDev/pcc-mp3dg,krips89/pcl_newfeatures,fskuka/pcl,lebronzhang/pcl,simonleonard/pcl,KevenRing/pcl,nikste/pcl,srbhprajapati/pcl,stfuchs/pcl,RufaelDev/pcc-mp3dg,3dtof/pcl,chatchavan/pcl,simonleonard/pcl,3dtof/pcl,stefanbuettner/pcl,shangwuhencc/pcl,srbhprajapati/pcl,srbhprajapati/pcl,wgapl/pcl,zhangxaochen/pcl,locnx1984/pcl,damienjadeduff/pcl,chenxingzhe/pcl,Tabjones/pcl,KevenRing/vlp,jeppewalther/kinfu_segmentation,pkuhto/pcl,chatchavan/pcl,shivmalhotra/pcl,ipa-rmb/pcl,stefanbuettner/pcl,LZRS/pcl,jeppewalther/kinfu_segmentation,stefanbuettner/pcl,shyamalschandra/pcl,v4hn/pcl,DaikiMaekawa/pcl,srbhprajapati/pcl,stfuchs/pcl,wgapl/pcl,closerbibi/pcl,MMiknis/pcl,mikhail-matrosov/pcl,chenxingzhe/pcl,simonleonard/pcl,zavataafnan/pcl-truck,shangwuhencc/pcl,DaikiMaekawa/pcl,jeppewalther/kinfu_segmentation,fanxiaochen/mypcltest,fanxiaochen/mypcltest,lebronzhang/pcl,mikhail-matrosov/pcl,zhangxaochen/pcl,shyamalschandra/pcl,jeppewalther/kinfu_segmentation,stfuchs/pcl,locnx1984/pcl,KevenRing/vlp,soulsheng/pcl,raydtang/pcl,shivmalhotra/pcl,zavataafnan/pcl-truck,drmateo/pcl,starius/pcl,jakobwilm/pcl,soulsheng/pcl,zavataafnan/pcl-truck,RufaelDev/pcc-mp3dg,shivmalhotra/pcl,drmateo/pcl,pkuhto/pcl,cascheberg/pcl,Nerei/pcl_old_repo,closerbibi/pcl,stfuchs/pcl,LZRS/pcl,locnx1984/pcl,mschoeler/pcl,drmateo/pcl,chenxingzhe/pcl,shangwuhencc/pcl,starius/pcl,damienjadeduff/pcl,mschoeler/pcl,RufaelDev/pcc-mp3dg,krips89/pcl_newfeatures,sbec/pcl,RufaelDev/pcc-mp3dg,lydhr/pcl,Tabjones/pcl,raydtang/pcl,ResByte/pcl,mschoeler/pcl,shyamalschandra/pcl,zavataafnan/pcl-truck,KevenRing/pcl,mikhail-matrosov/pcl,pkuhto/pcl,zhangxaochen/pcl,starius/pcl,jakobwilm/pcl,nikste/pcl,kanster/pcl,nh2/pcl,raydtang/pcl,ipa-rmb/pcl,damienjadeduff/pcl,chatchavan/pcl,jakobwilm/pcl,starius/pcl,Nerei/pcl_old_repo,ipa-rmb/pcl,the-glu/pcl,kanster/pcl,KevenRing/pcl,krips89/pcl_newfeatures,ResByte/pcl,wgapl/pcl,the-glu/pcl,nikste/pcl,MMiknis/pcl,nh2/pcl,fanxiaochen/mypcltest,nh2/pcl,closerbibi/pcl,KevenRing/vlp,closerbibi/pcl,sbec/pcl,ResByte/pcl,lydhr/pcl,lydhr/pcl,jakobwilm/pcl,krips89/pcl_newfeatures,msalvato/pcl_kinfu_highres,mschoeler/pcl,lydhr/pcl,shangwuhencc/pcl,kanster/pcl,LZRS/pcl,ipa-rmb/pcl,MMiknis/pcl,fskuka/pcl,ipa-rmb/pcl,Tabjones/pcl,simonleonard/pcl,chatchavan/pcl,drmateo/pcl,LZRS/pcl,msalvato/pcl_kinfu_highres,v4hn/pcl,lebronzhang/pcl,stefanbuettner/pcl,KevenRing/pcl,shyamalschandra/pcl,sbec/pcl,v4hn/pcl,lydhr/pcl,the-glu/pcl,zhangxaochen/pcl,chenxingzhe/pcl,chenxingzhe/pcl,mikhail-matrosov/pcl,sbec/pcl,msalvato/pcl_kinfu_highres,fskuka/pcl,damienjadeduff/pcl,pkuhto/pcl,Nerei/pcl_old_repo,raydtang/pcl,cascheberg/pcl,shivmalhotra/pcl,ResByte/pcl,starius/pcl,kanster/pcl,3dtof/pcl,LZRS/pcl,v4hn/pcl,mikhail-matrosov/pcl,lebronzhang/pcl,locnx1984/pcl,lebronzhang/pcl,fanxiaochen/mypcltest,mschoeler/pcl,locnx1984/pcl,cascheberg/pcl