minor changes to optimize bufferedimage