limit image height for candidates