Add performance test to Examples, fix int to long in indexing for big arrays (more then 2GB)