prettifyArea and prettifyDistance