The result of 512*1024 becomes 0

Thank you!
This solved the problem!