special scaling for 640