[INTERNAL] added a check for empty profile intensity vector