refactor shade-pixels