revamp shrinkage protocol and fix bugs

implement scoring method