removed bug and added circular support for restriction sites