upsampling and scaling at CTB level and using pictures edges no copy is required
test
fix bugs add prints
add new sse opt