/usr/lib/debian-med/bin/phasedstacks is in stacks 1.35-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/debian-med/bin/../../stacks/bin/phasedstacks
/usr/lib/debian-med/bin/../../stacks/bin/phasedstacks