filters: resize NN, fix off-by-one in coordinates mapping.