Programme for turning chip stacks into BBs