change default pixel size calculating method