Efficient sketch recognition based on shape features and multidimensional indexing