Change Alpha value calculation