Fixes and flakify.
WIP: nearest interpolation.