removed useless operations you'll have to do anyhow in your image