Remove unnecessary 32-bit restriction
Improve output
Move target check out of loop