Added configurable level mapping