add entropy based weighted cropping