Adjust Length of Image Block