A small-box approach to the local crystal structure of Y3NbO7