ENH/TST: Improve subpixel precision and verify it with tests.
CLN: Remove print statements.