fixing 2 cut of pixels due to the new border
allow both automatic and manual bindcode