I added nearest neighborhood interpolation option