refactor: pixel_traversal