utils added for scale space representation