Remove cap from prime factors