do not cut image if not needed
try not use pointer