now faster when we know that every pixel should be changed
added fps logging