Implemented backend limit of gate limits.
Finished gate limits. Might be unstable.