New perfect power implementation