Rotate every cube by it's local coordinate